<nav class="navbar navbar-default">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#(contextPath)/travel">多克民宿客栈-商户平台</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                #if(member.role>0)
                <li><a href="#(contextPath)/travel">首页 <span class="sr-only">(current)</span></a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">活动</a>
                    <ul class="dropdown-menu">
                       <li><a href="#(contextPath)/travel/activity">活动管理</a></li>
                       <li><a href="#(contextPath)/travel/activityOrder">活动预订管理</a></li>
                    </ul>
                </li>

                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">房间</a>
                    <ul class="dropdown-menu">
                        <li><a href="#(contextPath)/travel/unitRoom">房间管理</a></li>
                        <li><a href="#(contextPath)/travel/roomOrder">房间预订管理</a></li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">商品</a>
                    <ul class="dropdown-menu">
                        <li><a href="#(contextPath)/travel/product">商品管理</a></li>
                        <li><a href="#(contextPath)/travel/order">商品预订管理</a></li>
                    </ul>
                </li>
                <!--<li><a href="#(contextPath)/travel/order">预订管理</a></li>-->
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">文章管理</a>
                    <ul class="dropdown-menu">
                        <li><a href="#(contextPath)/travel/article">文章管理</a></li>
                         #if(member.role>=10)
                        <li><a href="#(contextPath)/travel/article/wxSync">微信文章同步</a></li>
                        #end
                    </ul>
                </li>
                
                <li><a href="#(contextPath)/travel/unit">客栈设置</a></li>
                #end
                #if(member.role>=10)
                <li><a href="#(contextPath)/travel/modulePic">广告图片管理</a></li>
                <li><a href="#(contextPath)/travel/deliveryConfig">运费设置管理</a></li>
                #end
                <!--<li><a href="#(contextPath)/travel/memberFood">自配送人员管理</a></li>-->
                <!--<li><a href="#(contextPath)/travel/foodDistribute">餐饮配送单管理</a></li>-->
                <!--<li><a href="#(contextPath)/travel/map">自配送地图一览</a></li>-->
                <!--<li><a href="#(contextPath)/travel/sysinfo">系统消息<span class="badge">42</span></a></li>-->
            </ul>

            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                        <div><img src="#(member.avatar??'')" style="border-radius: 50px;" width="35"> #(member.nick_name)<span class="caret"></span></div>
                    </a>
                    <ul class="dropdown-menu">
                        #----#
                        <li><a href="#(contextPath)/travel/member/resetPass">修改密码</a></li>
                        <li role="separator" class="divider"></li>
                        #if(member.role>=10)
                         <li><a href="#(contextPath)/travel/member/bindShopAccout">绑定新商户</a></li>
                         <li role="separator" class="divider"></li>
                        #end
                        <li><a href="#(contextPath)/travel/logout">退出系统</a></li>
                    </ul>
                </li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>